package com.jyw.business.obstacles.domain.dto.web;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author Created by ZhangCheng on 2024/01/18
 */
@Data
@ApiModel("报修管理查询请求Dto")
public class OrderRepairPageDto {

    @ApiModelProperty("故障描述")
    private String faultRemark;

    @ApiModelProperty("工单状态")
    private String currState;

    @ApiModelProperty(value = "报修开始时间",example = "2023-08-16")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate createInfoStartDate;

    @ApiModelProperty(value = "报修结束时间",example = "2023-08-16")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate createInfoEndDate;

    @ApiModelProperty("建单人")
    private Long createUser;

    @ApiModelProperty("报障来源")
    private Integer source;

    @ApiModelProperty(value = "报修科室",hidden = true)
    private String deptId;

}
